//
//  RHLocalSettingTypeModel.h
//  RuiHeAppApp
//
//  Created by Yan Chen on 2024/4/9.
//

#import <Foundation/Foundation.h>
#import "RHLocalSettingModel.h"

NS_ASSUME_NONNULL_BEGIN
/// 本地参数设置类型
typedef NS_ENUM(NSInteger, LocalSettingType) {
    LocalSettingType_EMS                  = 0, // EMS
    LocalSettingType_Master               = 1, // Master
    LocalSettingType_Pack1                = 101, // Pack
    LocalSettingType_Pack2                = 102, // Pack
    LocalSettingType_Pack3                = 103, // Pack
    LocalSettingType_Pack4                = 104, // Pack
    LocalSettingType_Pack5                = 105, // Pack
    LocalSettingType_Pack6                = 106, // Pack
    LocalSettingType_Pack7                = 107, // Pack
    LocalSettingType_Pack8                = 108, // Pack
    
    LocalSettingType_Inverter             = 3,   // Inverter
    LocalSettingType_PCS                  = 4,   // PCS
    LocalSettingType_EMU                  = 20,  // EMU
    LocalSettingType_NetWorkConfig            = 300  //配网
};

@interface RHLocalSettingTypeModel : NSObject
@property (nonatomic ,assign)  LocalSettingType  settingType;

@property (nonatomic ,copy) NSString *endPointCode;

@property (nonatomic ,copy) NSArray *dataList;



+(RHLocalSettingTypeModel*)getTypeModelWithSettingType:(LocalSettingType)type;

-(NSString*)getEndpointCode;

@end

NS_ASSUME_NONNULL_END
